<template>
  <h3>当前坐标为:   x:{{ point.x }}   y:{{ point.y }}</h3>
</template>

<script>
import usePoint from '@/hooks/usePoint';

export default {
    name:'Demo',
    setup(){
        let point = usePoint()
        
        return {
            point
        }
    }
}
</script>

<style>

</style>